package com.github.thinwonton.quartz.job;

import org.quartz.JobExecutionContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class AnalysisScheduleTask {
    static final Logger logger = LoggerFactory.getLogger(AnalysisScheduleTask.class);

    public void analysis(JobExecutionContext context) {
        try {
            logger.info("analysis开始");
            Thread.sleep(5000);
            logger.info("analysis结束");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
